﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using kdRPG;

namespace kdRPG.Map
{
    class Map
    {

        private Player player;
        private int screenWidth, screenHeight;

        private Texture2D background;
        private Texture2D[] tileTextures;
        private int[] tileInfo;
        private int tilesWide, tilesHigh;

        public Map(TextReader mapInfo, Texture2D[] tiles, ref Player player, int screenWidth, int screenHeight) {
            tilesWide = int.Parse(mapInfo.ReadLine());
            tilesHigh = int.Parse(mapInfo.ReadLine());
            // 

            
            this.tileTextures = tiles;
            this.player = player;
            this.screenWidth = screenWidth;
            this.screenHeight = screenHeight;
        }


        public void update(GameTime gameTime)
        {
            
        }
        public void draw(SpriteBatch spritebatch)
        {
        }

    }
    
       
}
